home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
sviluppo
/
svilupp2
/
amphn192.lha
/
src
/
TCPQueue.h
< prev
Wrap
C/C++ Source or Header
|
1996-11-16
|
608b
|
24 lines
#ifndef TCPQUEUE_H
#define TCPQUEUE_H
/* Setup/shutdown queue data */
BOOL SetupTCPQueue(int nQNum, BOOL BSetup);
/* Copy given buffer and store it in our queue */
BOOL QueueTCPData(int nQNum, UBYTE * pubData, ULONG ulLen);
/* Send as much data as we can */
int ReduceTCPQueue(int nQNum, LONG sSocket);
/* Returns current length of queue */
int TCPQueueLength(int nQNum);
int TCPQueueBytes(int nQNum);
/* Dumps all the data out of the queue */
void FlushTCPQueue(int nQNum);
/* Attempts to send or queues data */
int AttemptTCPSend(LONG sSendSocket, int nQNum, UBYTE * data, ULONG ulDataLen);
#endif